package com.smartfactory.sail.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.smartfactory.sail.entity.Waste;
import com.smartfactory.sail.vo.PageParam;
import com.smartfactory.sail.vo.waste.WasteList;

import java.util.Map;

/**
 * <p>
 * 废品库 服务类
 * </p>
 *
 * @author 王巨壁
 * @since 2019-08-27
 */
public interface IWasteService extends IService<Waste> {
    IPage<WasteList> listBypage(PageParam pageParam, Map<String,Object> queryParam);

    int wastePreSum(long itemId, long orderId, long workId);

    int wasteSize(long itemId, long orderId, long workId);
}
